package com.jwsoft.manager.core.integration;

import com.github.pagehelper.PageInfo;
import com.jwsoft.manager.common.vo.eduBusiEnrollOrder.EduBusiEnrollOrderVO;
import com.jwsoft.manager.common.vo.eduBusiEnrollOrder.EduBusiEnrollOrderKeyVO;
import com.jwsoft.manager.common.vo.eduBusiEnrollOrder.EduBusiEnrollOrderQueryVO;
/**
 * 报名派号业务管理业务本地接口
 *
 * @author zhiyuan
 * @since 2023-07-21
 */
public interface EduBusiEnrollOrderIntegration {
    /** 分页查询 */
    PageInfo<EduBusiEnrollOrderVO> getList(EduBusiEnrollOrderQueryVO vo);
    /** 根据主键查询详情 */
    EduBusiEnrollOrderVO getById(EduBusiEnrollOrderKeyVO vo);
    /** 保存前统一校验*/
    void checkSave(EduBusiEnrollOrderVO vo);
    /** 新增 */
    EduBusiEnrollOrderVO add(EduBusiEnrollOrderVO vo);
    /** 修改 */
    EduBusiEnrollOrderVO edit(EduBusiEnrollOrderVO vo);
    /** 根据主键删除 */
    void del(EduBusiEnrollOrderKeyVO vo);

    /**
     * 报名派号业务叫号
     * @param vo
     */
    EduBusiEnrollOrderVO callOrderNum(EduBusiEnrollOrderQueryVO vo);

    /**
     * 家长APP请求派号
     * @param vo
     */
    String appDistributeOrderNum(EduBusiEnrollOrderQueryVO vo);

    /**
     * 根据派号类型得到详情信息
     * @param vo
     * @return
     */
    Object getDetailsByOrderType(EduBusiEnrollOrderQueryVO vo);

    EduBusiEnrollOrderVO appGetById(EduBusiEnrollOrderQueryVO vo);
}
